breadth first search

广度优先搜索